package com.ruoyi.project.system.mapper;

import java.util.List;
import com.ruoyi.project.system.domain.SysGoodsParise;

/**
 * 二手物品点赞Mapper接口
 * 
 * @author jjp
 * @date 2020-04-22
 */
public interface SysGoodsPariseMapper 
{
    /**
     * 查询二手物品点赞
     * 
     * @param pariseId 二手物品点赞ID
     * @return 二手物品点赞
     */
    public SysGoodsParise selectSysGoodsPariseById(Long pariseId);


    public List<SysGoodsParise> selecUserNameById(Long goodsId);

    /**
     * 查询二手物品点赞列表
     * 
     * @param sysGoodsParise 二手物品点赞
     * @return 二手物品点赞集合
     */
    public List<SysGoodsParise> selectSysGoodsPariseList(SysGoodsParise sysGoodsParise);

    /**
     * 新增二手物品点赞
     * 
     * @param sysGoodsParise 二手物品点赞
     * @return 结果
     */
    public int insertSysGoodsParise(SysGoodsParise sysGoodsParise);

    /**
     * 修改二手物品点赞
     * 
     * @param sysGoodsParise 二手物品点赞
     * @return 结果
     */
    public int updateSysGoodsParise(SysGoodsParise sysGoodsParise);

    /**
     * 删除二手物品点赞
     * 
     * @param pariseId 二手物品点赞ID
     * @return 结果
     */
    public int deleteSysGoodsPariseById(Long pariseId);

    /**
     * 批量删除二手物品点赞
     * 
     * @param pariseIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysGoodsPariseByIds(Long[] pariseIds);

    public int pariseCount(SysGoodsParise sysGoodsParise);
}
